home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / crtex / ex4.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  252 b   |  14 lines

  1. Program Example4;
  2. uses Crt;
  3.  
  4. { Program to demonstrate the TextMode function. }
  5.  
  6. begin
  7.   TextMode(CO40); {Only clears screen under linux}
  8.   WriteLn('Mode 40x25 Color');
  9.   ReadKey;
  10.   TextMode(CO80);
  11.   WriteLn('Back in Mode 80x25 Color');
  12.   ReadKey;
  13. end.
  14.